package com.wjw.spring5.aopannotation;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author wjw
 * @date 2021年11月05日 18:09
 */
@Component
@Aspect
@Order(0)
public class UserProxy1 {
    @Before("execution(* com.wjw.spring5.aopannotation.User.add(..))")
    public void before() {
        System.out.println("order0 before .....");
    }
}
